package org.whuims.pois.helper;
import com.google.gson.*;
import org.whuims.poms.bean.BaiduLocation;

import java.lang.reflect.Type;
import java.util.HashMap;

/**
 * Created by 坤 on 2014/5/20 0020.
 */
public class BaiduMapTypeAdapter implements JsonSerializer<BaiduLocation>{

    @Override
    public JsonElement serialize(BaiduLocation baiduLocation, Type type, JsonSerializationContext jsonSerializationContext) {
        return jsonSerializationContext.serialize(baiduLocation);

    }
}
